﻿using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace FwProject.PrePaymentInfo.Dto
{
    public class QuickReceiptListOutput
    {
        public List<QuickReceiptInput> QuickReceipts { get; set; }
    }

    [AutoMap(typeof(ReceiptInfoModel))]
    public class QuickReceiptInput
    {
        /// <summary>
        /// 收款经办人id
        /// </summary>
        public long AgentPeoperUserId { get; set; }
        /// <summary>
        /// 餐厅编号
        /// </summary>
        public Guid RestaurantId { get; set; }
        /// <summary>
        /// 账户编号
        /// </summary>
        public Guid CapitalAccountId { get; set; }

        /// <summary>
        /// 整单金额 此金额是后台制单后的应收金额SettlementInfo Actualprice 字段
        /// </summary>
        public decimal WholeAmount { get; set; } = 0m;
        /// <summary>
        /// 应收回金额(WholeAmount-PreferentialAmount)
        /// </summary>
        public decimal ActualAmount { get; set; } = 0m;
        /// <summary>
        /// 使用预收款
        /// </summary>
        public decimal UsePrePayment { get; set; } = 0m;
        /// <summary>
        /// 实际收回金额
        /// </summary>
        public decimal TaskBackAmount { get; set; } = 0m;
        /// <summary>
        /// 优惠金额
        /// </summary>
        public decimal PreferentialAmount { get; set; } = 0m;

    }
}
